import request from '@/utils/request/base'

// 新增用户数量
export function saleCount(params) {
    return request({
      url: '/sales/man/count/new',
      method: 'get',
      params
    })
}

// 新增商机数
export function businessCount(params) {
    return request({
      url: 'business/count/new',
      method: 'get',
      params
    })
  }

//   新增联系数
export function contactCount(params) {
    return request({
        url: 'business/count/new/contact',
        method: 'get',
        params
    })
}

//   新增合同
export function contractCount(params) {
    return request({
        url: 'business/count/new/contract',
        method: 'get',
        params
    })
}

// 合同金额
export function moneyCount(params) {
    return request({
      url: 'business/sum/new/contract/money',
      method: 'get',
      params
    })
}
// 跟进记录
export function followCount(params) {
  return request({
    url: 'business/count/new/log/',
    method: 'get',
    params
  })
}
// 合同面积
export function areaCount(params) {
  return request({
    url: 'business/sum/new/contract/area',
    method: 'get',
    params
  })
}